<template>
	<view style="display: flex; align-items: center; justify-content: center; font-size: 24px;height: 80vh; font-weight: 800; color: #ccc;">
		点击右上角按钮，然后在弹出的菜单中点击在浏览器中打开，即可打开
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onShow() {
			var ua = window.navigator.userAgent.toLowerCase();
			if (ua.match(/MicroMessenger/i) == 'micromessenger') {
			     // 微信中打开
			} else {
				uni.switchTab({
					url:'/pages/index/index'
				})
			   // 普通浏览器中打开
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
